﻿<UserControl x:Class="TicTacToe.UI.Components.PlayerPanel"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:TicTacToe.UI.Components"
             mc:Ignorable="d" d:DesignHeight="50" d:DesignWidth="400" x:ClassModifier="internal">
    <Border Name="playerBorder" BorderThickness="2" BorderBrush="Black">
        <Border.Background>
            <SolidColorBrush x:Name="backgroundBrush" Color="{Binding Path=Color}" />
        </Border.Background>
        <ContentControl VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="20" Foreground="Black" Content="{Binding Path=Name}" />
    </Border>
</UserControl>
